package com.zm.rpc.procedure.pojo;

import java.lang.reflect.Method;

public class ProcedureMetadata {
    
    private String path;

    private Object procedure;

    private Method targetMethod;

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Object getProcedure() {
        return procedure;
    }

    public void setProcedure(Object procedure) {
        this.procedure = procedure;
    }

    public Method getTargetMethod() {
        return targetMethod;
    }

    public void setTargetMethod(Method targetMethod) {
        this.targetMethod = targetMethod;
    }

    @Override
    public String toString() {
        return "ProcedureMetadata [path=" + path + ", procedure=" + procedure.getClass().getName() + ", targetMethod=" + targetMethod.getName() + "]";
    }

    
}
